<?php
if (!defined('TOBBIVM'))
	header('location:/template/notrepassing.php');
/**
 * This file is part of TobbiVMShop.
 *
 * TobbiVMShop is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TobbiVMShop is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TobbiVMShop.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Template for shipping-editor
 * used from shipping.page.editor.php
 *
 * @version    $Id$
 * @package    TobbiVM-Shop
 * @copyright  Copyright (C) 2012
 * @author     Norbert Gebert
 * @license    GPL3
 */
?>

<h2>{page_title}</h2>
<div class="form">
	{Form_Start}
	<dl>
		<dt>{id}</dt>
	</dl>

	<dl>
		<dt><label for="name">{name}</label></dt>
		<dd>
			<input type="text" name="namex" id="namex" size="35" value="{namex}" />
			{namexHelp}
		</dd>
	</dl>

	<dl>
		<dt><label for="value">{value}</label></dt>
		<dd>
			<input type="text" name="valuex" id="valuex" size="8" value="{valuex}" />
			{valuexHelp}
		</dd>
	</dl>

	<dl>
		<dt><label for="tax">{tax}</label></dt>
		<dd>
			<div style="float: left;">
				<select size="1" name="taxx" id="taxx">
					<!-- BEGIN taxx -->
					<option value="{taxValuex}" {selectx}>{taxNamex}</option>
					<!-- END taxx -->
				</select>
			</div>
			<div style="float: right;">
				{taxxHelp}
			</div>

		</dd>
	</dl>

	<dl>
		<dt><label for="order">{order}</label></dt>
		<dd>
			<input type="text" name="orderx" id="orderx" size="3" value="{orderx}" />
			{orderxHelp}
		</dd>
	</dl>

	<dl>
		<dt><label for="active">{active}</label></dt>
		<dd>
			{activex}&nbsp;&nbsp;&nbsp;
			{activexHelp}
		</dd>
	</dl>

	<dl>
		<dt><label for="table">{table}</label></dt>
		<dd>
			<textarea style="visibility: hidden; display: none;" class="ckeditor" name="textx" id="textx" 
						 rows="25" cols="56">{tablex}</textarea>
			<script type="text/javascript" src="{tpl_js}ckeditor.mini.js"></script>
		</dd>
	</dl>

	<dl>
		<dt><label for="file">{file}</label></dt>
		<dd>
			<input type="text" name="filex" id="tablex" size="60" value="{filex}" />
			{filexHelp}
		</dd>
	</dl>

	<dl class="submit">
		{btn_save}
		{btn_abort}
	</dl>

	<dl>
		{shippingPageHelp}
	</dl>
	{Form_End}
</div>
